# -*- coding: utf-8 -*-
"""
Created on Fri Jul  3 02:44:49 2020

@author: Farman
"""


import joblib

dict_path_row_id = joblib.load('WorkDir/samples_path_row_id.joblib')

path = dict_path_row_id.keys()
path = list(path)
path.sort()

for p in path:
    dict_row_id = dict_path_row_id.get(p)
    row = dict_row_id.keys()
    row = list(row)
    row.sort()
    
    for r in row:
        ids = dict_row_id.get(r)
        ids = list(ids)
        ids.sort()
        
        print('Path %d, row %d, len %d'%(p, r, len(ids)))